#pragma once

class Timer
{
private:
    unsigned int m_n_FPS;
    float m_f_StartTime;
	float m_f_GlobalTime;
    float m_f_DeltaTime;
    LARGE_INTEGER m_n_TickFrequency;

public:
    Timer(void);
    ~Timer(void);

    void Reset();
    void Update();

	float GetCurrentTime();

	float GetGlobalTime() const { return m_f_GlobalTime; }
	float GetDeltaTime() const { return m_f_DeltaTime; }
	unsigned int GetFPS() const { return m_n_FPS; }
};

